package com.cfweb.enumration;

public enum InstanceState {
	DOWN, STARTING, RUNNING, CRASHED, FLAPPING, UNKNOWN;

	public static InstanceState valueOfWithDefault(String s) {
		try {
			return InstanceState.valueOf(s);
		} catch (IllegalArgumentException e) {
			return InstanceState.UNKNOWN;
		}
	}
}
